package com.example.Android_test.helpers;

/**
 * Created with IntelliJ IDEA.
 * User: anpi0413
 * Date: 05.06.13
 * Time: 13:05
 * To change this template use File | Settings | File Templates.
 */
public class UniqViewIDHelper {
    public static final UniqViewIDHelper INSTANCE = new UniqViewIDHelper();

    private Integer currentID;

    private UniqViewIDHelper() {
        currentID = Integer.MAX_VALUE - 1;
    }

    public Integer getUniqueId() {
        currentID--;
        return currentID;
    }
}
